<?php
namespace app\api\service\v1;
/*
 * content : 路由菜单访问类 
 * Author  : Songyicong 
 * time    : 2018-05-05 10:08:19 
 * email   : m13726262373@163.com 
 */

 use app\api\service\BaseService;
 
 Class MenuService extends BaseService{

    /** 获取当前用户的权限 */
    public function getMenu($params = []){
        if(empty($params['access_token'])){
            return self::sendError(100201, 'the default parameter cannot be empty',200);
        }
        // 通过 access_token 获取权限 token
    }

 }
